package com.bicon.base.data.pojo.botu;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 售后明细
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("after_sales_details")
public class AfterSalesDetails extends Model<AfterSalesDetails> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 售后记录ID
     */
    @TableField("after_sales_record_id")
    private String afterSalesRecordId;
    /**
     * 订单明细ID
     */
    @TableField("order_child_id")
    private String orderChildId;
    /**
     * 商品库存ID
     */
    @TableField("goods_id")
    private String goodsId;
    /**
     * 商品货号
     */
    @TableField("product_code")
    private String productCode;
    /**
     * 商品类型(1:定制 ,2:非定制)
     */
    @TableField("goods_type")
    private Integer goodsType;
    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 商品数量
     */
    @TableField("goods_number")
    private Integer goodsNumber;
    /**
     * sku名称
     */
    @TableField("sku_name")
    private String skuName;
    /**
     * sku图片
     */
    @TableField("sku_image")
    private String skuImage;
    /**
     * 平台价
     */
    @TableField("platform_price")
    private BigDecimal platformPrice;
    /**
     * 本次退款金额（即本次交易中，商品总价除以数量的金额）
     */
    @TableField("pay_back_amount")
    private BigDecimal payBackAmount;
    /**
     * 删除标识(0:未删除,1:已删除)
     */
    @TableField("logic_delete")
    private Integer logicDelete;
    /**
     * 创建日期
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新日期
     */
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAfterSalesRecordId() {
        return afterSalesRecordId;
    }

    public void setAfterSalesRecordId(String afterSalesRecordId) {
        this.afterSalesRecordId = afterSalesRecordId;
    }

    public String getOrderChildId() {
        return orderChildId;
    }

    public void setOrderChildId(String orderChildId) {
        this.orderChildId = orderChildId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getSkuImage() {
        return skuImage;
    }

    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    public BigDecimal getPlatformPrice() {
        return platformPrice;
    }

    public void setPlatformPrice(BigDecimal platformPrice) {
        this.platformPrice = platformPrice;
    }

    public BigDecimal getPayBackAmount() {
        return payBackAmount;
    }

    public void setPayBackAmount(BigDecimal payBackAmount) {
        this.payBackAmount = payBackAmount;
    }

    public Integer getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(Integer logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AfterSalesDetails{" +
        "id=" + id +
        ", afterSalesRecordId=" + afterSalesRecordId +
        ", orderChildId=" + orderChildId +
        ", goodsId=" + goodsId +
        ", productCode=" + productCode +
        ", goodsType=" + goodsType +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", skuName=" + skuName +
        ", skuImage=" + skuImage +
        ", platformPrice=" + platformPrice +
        ", payBackAmount=" + payBackAmount +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
